SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1b072b9cc7537fddc4e0bdcd3614d267d8f983f5a6435daa94141c9b4219a305' 
  AND token = 'KrIlch3orVmgd/GieUg5sYypWtbTQPZMNiVYHGqwTyg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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