SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a50a33e2c79ea68a8e21c9a86abaa306f78c768d1a5dfdfa768cfddd8591b5ea' 
  AND token = 'sYD7Nh7G4D8HyBFQ1bCK6a1GqhzjWgZrsA3E0ZDjihI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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