SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd321251e5529dd189a327934487c59f89424fae01a4ff729614f37ff83109b3a' 
  AND token = 'iGvZHCE/Z8E25lYcCv1p/g0THfyIKs73RgGL5PXEv3k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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