SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '641a89945d79f3e79c97b9b79e20ab7b4f046862a7ed31aa1c29d0a8f40cf732' 
  AND token = 'd5qT+nziXhQDHQlWTa5S/tdMfyNoTLimOEaEkEH/5BQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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