SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c6c320995d6cc51c224faeda3393b7916ac6916686a40e4e5b2c72a401257ea2' 
  AND token = 'RsMC6G5M+GiOCaBfeLsJqQ84+XJkHNTfVqyaBIlvp84=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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