SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '18c040fd0f48e1a86a78e1e880f8357532723bb6842379b949071a9ba760a638' 
  AND token = 'kZgAVV0nAHMTzsRl3n578D5sJUodcb00UbKY7wLD7uI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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