SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b50c326b9db77afdecb67efdcfaa9f042c1e47a686598e68e49bcffe72866a9d' 
  AND token = 'pfj/qK4EUr25ta+n4QO86Cxz6Vd+owHu0MS7BuaTzKQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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