SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51d6885f2445022e5c65f0b7c1c7fe6d99efdbc30c2fb4494e82a63ab418e6ad' 
  AND token = 'AlsqHZpYeMsqtHzGdonb2ssIJTXmBpYoA8bg0lpEfeY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}