SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2f87c51a63c33dd549fb02916f9117eacafc34bd8072b8e67c93f5f538065513' 
  AND token = 'QeZNfnivB91Snr7zyPjfKNqE0X+niNq4ikFOcY3P7Xs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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