SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23b881f038c993517968921a35a94bf9ccf0fb7d14935448ba1d3e8921c9e764' 
  AND token = 'gwxDmJFHSOOIBn22570cchL55cIBt+t00lTZ8Te5WBM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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