SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0e10ac9541295cc09e7e7e6d7d5987cd766cae25c9d541f758992b6e298afaa2' 
  AND token = 'pD/Y4ZlV4d9/ynVOKmF7mTJRPsOjpM0qw8xNyaDV90M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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