SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e5e5c35c9359efcd22378c846b96d1f0a2c21b1666ceb3bdcd1742e4ef310a06' 
  AND token = 'HydJ60rOVHd8Za2Sgi+2qDJctJyInY5di9TYm3zNVhM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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