SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5162207db504595cfa00b2068e1321065ad5bd72df07b26558f2d2ad97840048' 
  AND token = 'TgXBxtFJN1GAdKfLGlelGmT7Sw56HmyZrAPiVHCmpQE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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