SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '58cbc34eb5332b113cc642bfaa219b3bf147797322c28aaa9fffffb03abd3170' 
  AND token = 'D4T64HUc3exj/y58bU7wtnfefZ7wQsIR7CH8k30sdvw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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