SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '77946aefb4291e1b40bc99ad8811499a2c9c67637b1d8a2d69e3c534e22515df' 
  AND token = 'xPvmglhflGaJ1CZEpFm2bpeiGfluyDSPu07oogmyyUQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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