SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8caa4b399829a7eb900dc6fe9a267d7168f5669f3a073cdc35b0761b44b2470f' 
  AND token = 'FqFb7pOO0KlhVoBuf7RYVkJa5sDCMopT9aEMXz/42DA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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