SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e534d8888f8787cb8f6ecff1dd1b58d4d7af2df400840cff719e0c1096c2b9f5' 
  AND token = 'WCQwfz0+nLjAPSb9NMldZE4+KqD63cUI8GIPYOmeKJs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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