SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '171cd08819ff752add475017d01eb4b65f3ab580744a6e0f34817875cffdf702' 
  AND token = 'ARk6tL9UDCMOY3PiRRDigfOdZ6bdhMcDn44njbwHgf4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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