SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0c0973fd31dea77164af6437450ccc06b0ccfd1991e774dbc5c746a3f8ce61d4' 
  AND token = 'AgUDLgdxhrWB/1ji9GPAU7QEfCe0x5pACRrB0n5YwDE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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