SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '96b577be1a70f6b81083498739c416a919017f3f984e5bda92b5ba61a0a8a012' 
  AND token = '20k+InTc+JHPOMxtYFxLY9n9Khy479bZGK0oQQ5tvb0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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