SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5309df3dc556adf33b14fb21cecbf599e153fc231fd8a2130853ac50df2765e9' 
  AND token = 'f8uk5SDcUeBsm5ndBe8Ol398mo2kMUb6OiQPp5fMs00=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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