SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3fe14263d12d0d9babed220371f2874d5ef4322ecdab8f382b36dca9eeaa81c1' 
  AND token = 'ICJQRbzsYDpZOfZfkRw2rOEOunuks39//IwOfnX0AwE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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