SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd586c6651b501a8cc424206033040e5def5e72e999d3456218ac357ee4c70e84' 
  AND token = '0DA6KLQ3QuEE3ASmbRlBo0p08BW1+5G1Zus/fBGGmPk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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