SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6399fe94949f442aafaa3b022097a6df7b4ab2b4751defd239c493113a8744b4' 
  AND token = 'AprWUsHjH2+CMnxyiidt03NSORGRLGbiS/mFIoArf78=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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