SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e120d4e8356c48c8c4684e8673e5f6880012ffa10573755138a6171602737930' 
  AND token = 'gXX18qUmNDinAadvNR1z9wJ8bVPUzk7/5C8VTfk7VZE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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