SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9239b670de8e4dcfc380c87d0aa692a2ed13a7545efccae7988281ba92b9c0d9' 
  AND token = 'TdlMtWwBkZ5YXwVvhuRA3aVh1yG4u/LuJaQuZnFBOM8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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