SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c8405050d09dd887e31468b1ffe29e65e702ea1fda6a6db785d223b1528c9e9d' 
  AND token = '5B9ZCxnraE+OXgs6sxJU7CZiF8hhJ81Wghe1LRht5JU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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