SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e5edf4c16a6301bd87b5eb5d206e97f1976a0eed24d833aadb18b6cfd4eb50e8' 
  AND token = '7aOGn6Hfulgl+YOBJN3aJqJBBRaFH+obGuPfcGrPNUM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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