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

Query time 0.00050

JSON explain

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