SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '56cdbbe00cc2b1719fc370506e26b1208f54daeaa07fa0174c3b11b0040db42e' 
  AND token = 'TpZAbqtQemEVlp3HY03P07GuidEbBDP3Sy4Gdly3ZAw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00187

JSON explain

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