SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9e31354d7f2e108ba8b657d5db72a6227fc08a48ffa05f43dceee6dbdbf6a5dd' 
  AND token = 'iwzCWKw+6TzXpFVeC9cDQkPZGpteUlcEdCVEK99W3/s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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