SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dc4f44365097a56dd804963b46127c603687585e2b0d2d04be08f4881ec9ffe7' 
  AND token = '5f5T6pRk51/6T9X3iYzu7g6HTaeTWmgwlkUOqfflqH8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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