SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2a493cde675eff4c6cba4ff2107bf94ffcf552ab201afb0141e7a58e8c2e072c' 
  AND token = 'cOkZIR7XvTn0nKDEriNhIL7Ad+1nqQ1kYdtLu9CfpPM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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