SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd5bd3f4f057157c46acc4b0c22e7b47cb676c3336800770b0b7f019ffcb14259' 
  AND token = 'y0Lwwwha1AKekoTg9cG5MUOIeeFW87ffcQuHTaQeYyA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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