SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5a26b9744530407d44e0930c265feab378999065bd0f21795e9f5cd7b1202f11' 
  AND token = 'hY9AbLr04DykENWsv+DXuwae6HFADcdWggXn8Bef3DM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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