SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7c08578205250aefe168ba8e53b8562be8987c077965395563f0004817f2e66f' 
  AND token = 'Z9ExTk4IIsbAe+iW6EYBRLYe7ZRGdsNFeptTQkaGi3Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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