SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a40b032fbf9c5df5cb997bd79e415b390f7fce661a9e55a6b0106b51ec4d12b6' 
  AND token = 'ulTQK667JHBsHcJ53HMkiS+hD24I4495aMsA9c94YVg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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