SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '171ae82d2b40c401955074da70d2bf831662da9c7012cddb91bad8fea33c25ab' 
  AND token = 'KgyJ3KgY52nsvk/10u5+CebXI0wcwW0J8yhkdrG0RaI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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