SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fb1d9fa3862b64a156df8eb2edef6274923b7433baf3f9632bb0417eb7f0f42e' 
  AND token = 'frzTNw/J1T3wpXN1x8aft2DlXi0E14gLdCGEKMNiv+Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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