SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c96785ffc8544b880ebc72b80a861b7432e08712fc3627cdf4c083bf2746a305' 
  AND token = '90ze46WTdv90eFDzRj3AjUkQCUXIbiB6caPv0zHn+kU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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